package com.hx.jeeadminbase.common.config;

import com.hx.jeeadminbase.db.jeedao.JeeBaseDao;
import com.hx.jeeadminbase.db.jeedao.impl.JeeBaseDaoImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @program: jeeadmin
 * @description: mapper配置类
 * @author: xxm
 * @create: 2019-10-30 14:46
 **/
@Configuration
//@tk.mybatis.spring.annotation.MapperScan(basePackages = "com.hx.**.mapper")
public class MapperConfig {
    public MapperConfig(){
        System.out.println("++++++++++++++++++++++++++++++++");
    }

    @Bean
    public JeeBaseDao jeeBaseDao() {
        System.out.println("--------------------加载JeeBaseDao----------------------");
        return new JeeBaseDaoImpl();
    }
}
